import mysql from 'mysql';
import config from './config.js'

const connection =  mysql.createConnection(config) // mysql.createConnection 方法创建连接实例
export default connection;